/**
 * @projectName: com.xiayuanxing.designPattern
 * @className: Projector
 * @author: xiayuanxing
 * @description: TODO
 * @date: 2021/12/28 16:18
 * @version: 1.0
 */
public class Projector {

    private static Projector instance = new Projector();

    public static Projector getInstance() {
        return instance;
    }

    public void on(){
        System.out.println("Projector on!");
    }

    public void  off(){
        System.out.println("Projector off!");
    }

    public void focus(){
        System.out.println("Projector is Projector");
    }
}
